package cn.hxzy.commonUser.mapper;

import cn.hxzy.entity.userEntity.RolePer;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Select;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public interface RolePerMapper extends BaseMapper<RolePer> {

    @Select("select per from sys_role_per where role_id=#{roleId}")
    List<String> selectPerById(String roleId);
}
